package com.winit.openapi.tms.builder;

import java.util.HashMap;
import java.util.Map;

import com.winit.tms.spi.booking.vo.BookingLogisticsWarehouseVo;

public class BookingLogisticsWarehouseBuilder {

    public static Map<String, Object> buildReturnLogisticsWarehouse(BookingLogisticsWarehouseVo warehouseVo) {
        Map<String, Object> map = new HashMap<String, Object>();
        if (null == warehouseVo) {
            return map;
        }
        map.put("warehouseCode", warehouseVo.getWarehouseCode());
        map.put("warehouseName", warehouseVo.getWarehouseName());
        return map;
    }
}
